package com.example.demo.service;

import com.example.demo.controller.bean.Result;
import com.example.demo.dto.QuestionRequestDTO;
import com.example.demo.mapper.entity.Question;
import com.example.demo.utils.PageBo;
import com.example.demo.utils.PageVo;

import java.util.List;

public interface QuestionManageService {
    PageVo<Question> getQuestionList(PageBo pageBo);
    PageVo<Question> findQuestionBankList(PageBo pageBo, int bankId);

    List<Question> searchQuestionList(QuestionRequestDTO request);

    Result<String> addQuestion(Question request);

    Result<String> updateQuestion(QuestionRequestDTO request);

    Result<String> deleteQuestion(Question request);

    Result<String> batchDeleteQuestion(List<Question> requestList);

    Result<String> moveQuestionBank(Question request);
}
